using System;
using DotNetNuke.Modules.Announcements;
using DotNetNuke.Entities.Users;

namespace MetaPostProvider.Announcements
{
    public partial class ControllerFactory
    {
        public class AnnouncementsController_3_3_5 : AnnouncementsController_Proxy
        {

            protected internal AnnouncementsController_3_3_5() { }

            public override void Delete(int ItemID)
            {
                DeleteProxy.Invoke(this, new object[] { ItemID });
            }

            public override int Add(AnnouncementInfo objAnnouncement)
            {
                return Convert.ToInt32(AddProxy.Invoke(DataProvider.Instance(), new object[] {objAnnouncement.ModuleId, objAnnouncement.CreatedByUser, objAnnouncement.CreatedDate, objAnnouncement.Title, objAnnouncement.Url, objAnnouncement.Description, objAnnouncement.ViewOrder, objAnnouncement.PublishDate}));
            }
        }
    }
}
